[WIP] TabularEditor triggering column size recompute#1709
[WIP] TabularEditor triggering column size recompute#1709aaronayres35 wants to merge 2 commits intomainfrom
Conversation
|
Actually thinking about this more I do not like this approach... In my example code, one could replace the line Any time a user is trying to fire the Additionally, there exists an EDIT: I've updated the PR to now check |
…set, call resizeColumnsToContents()
update_column_widths Event trait to force calls to resizeColumnsToContents|
@rahulporuri This PR isn't really ready for review if it is ready to merge, but I've opened it to get your ideas on some different approaches / so we can further discuss what makes sense |
closes #1434
This PR adds a newEDIT: I've changed the approach.update_column_widthsEventtrait to the qt4TabularEditor, along with a listener that will callself.control.resizeColumnsToContentswhenever this event is fired.Code I am using to manually test this:
Details
Checklist